#include "EditorCore/Visitors/EntityDrawer.h"

using namespace drawing;

namespace editor_core {

	EntityDrawer::EntityDrawer( IDrawer* drawer ) :
		m_drawer( drawer )
	{}

	EntityDrawer::~EntityDrawer() {}

	void EntityDrawer::VisitEntity( IEntity* entity ) {
		entity->Draw( m_drawer );
	}

}
